﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HSJM.Service.MWS.Core
{
    public class WMSOperateLogInsertDTO
    {
        /// <summary>
        ///  功能模块
        /// </summary>
        [Description("功能模块")]
        [MinLength(0)]
        [MaxLength(50)]
        public string FunctionalModule { get; set; }

        /// <summary>
        ///  操作类型
        /// </summary>
        [Description("操作类型")]
        [MinLength(0)]
        [MaxLength(50)]
        public string OperateType { get; set; }

        /// <summary>
        ///  操作内容
        /// </summary>
        [Description("操作内容")]
        [MinLength(0)]
        [MaxLength(-1)]
        public string OperateContent { get; set; }

        /// <summary>
        ///  操作者Id
        /// </summary>
        [Description("操作者Id")]
        [Range(0, long.MaxValue)]
        public long? OperaterID { get; set; }

        /// <summary>
        ///  操作人名称
        /// </summary>
        [Description("操作人名称")]
        [MinLength(0)]
        [MaxLength(50)]
        public string OperaterName { get; set; }

        /// <summary>
        ///  数据内容
        /// </summary>
        [Description("数据内容")]
        [MinLength(0)]
        [MaxLength(-1)]
        public string DataContent { get; set; }
    }
}
